SOURCES += \
    main.cpp \
    measuretime.cpp


QT += network
QT += xml
QT -= gui

INCLUDEPATH += /home/tc/IGH_XENOMAI_QT_LIB/ethercat-1.5.2/output/include

LIBS += -L/usr/xemomai/lib/ -lnative

unix:!macx: LIBS += -L$$PWD/lib/ -lethercat_rtdm

unix:!macx: LIBS += -L/usr/xenomai/lib/ -lrtdm

INCLUDEPATH += /usr/xenomai/include
DEPENDPATH += /usr/xenomai/include

unix:!macx: LIBS += -lxenomai

QMAKE_CFLAGS += -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -I/usr/xenomai/include/posix
QMAKE_LFLAGS += -Wl,-rpath,/usr/xenomai/lib
#QMAKE_CFLAGS += -Wl,@/usr/xemomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai  -lrt

LIBS += -Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lrt -lpthread

HEADERS += \
    measuretime.h
